//
// Created by bleedingfight on 2020/6/29.
//

#ifndef DATASTRUCTAND_ALG_MAXPROFIT_H
#define DATASTRUCTAND_ALG_MAXPROFIT_H
#include <vector>
#include <math.h>
int maxProfit(std::vector<int>& prices);
int maxProfit1(std::vector<int>& prices);
int maxProfit2(std::vector<int>& prices);
#endif //DATASTRUCTAND_ALG_MAXPROFIT_H
